<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<body>
<h2>当前在线人数: <%=request.getServletContext().getAttribute("onlineCount")%></h2>
    <form action="${pageContext.request.contextPath}/redirect" method="get">
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username">

        <label for="password">密码:</label>
        <input type="password" id="password" name="password">

        <input type="submit" value="提交">
    </form>
    <a href="${pageContext.request.contextPath}/./static/JSPGrammar.jsp">JSPGrammar</a><br>
    <a href="${pageContext.request.contextPath}/./static/PageContextDemo.jsp">pageContextDemo</a><br>
    <a href="${pageContext.request.contextPath}/./static/JSTL.jsp">JSTL</a><br>
    <a href="${pageContext.request.contextPath}/fal">filter and listener -- no filter</a><br>
    <a href="${pageContext.request.contextPath}/filter/fal">filter and listener -- have filter</a><br>
</body>
</html>
